<template>
  <div class="navbar-index">
    <ul>
      <li>
        <router-link to="/">首页</router-link>
      </li>
      <li>
        <router-link to="/about">关于我们</router-link>
      </li>
      <li class="active">
        <router-link to="/information">进德资讯</router-link>
      </li>
      <li>
        <router-link to="/myself">我的</router-link>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'NavbarIndex',
  props: {
    msg: String
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.navbar-index {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}
.navbar-index ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #ffffff;
}
.navbar-index ul li {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 7px 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.navbar-index ul li.active {
  background: #ffffff;
}
ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.navbar-index ul li a {
  color: #666666;
  font-size: 16px;
  display: inline-block;
}
.logo {
  padding: 0 8px;
  padding-top: 2px;
}
img {
  height: 33px;
}
</style>
